using MicroMsg.Common.Utils;
using MicroMsg.Plugin.LBS.Scene;
using MicroMsg.Protocol;
using MicroMsg.Resource.@string;
using MicroMsg.Storage;
using MicroMsg.UI.UserContrl;
using System;
using System.Windows;
using System.Windows.Media.Imaging;
namespace MicroMsg.Plugin
{
	public class PluginBaseEx : PluginBase
	{
		private const string TAG = "PluginBaseEx";
		public const string PluginKey = "PluginBaseEx";
		public const long PluginID = 32773L;
		public const string PluginName = "PluginBaseEx";
		public const int PluginVersion = 256;
		private static PluginBaseEx mInstance;
		public LbsService sceneLbsService;
		public override string mTitle
		{
			get
			{
				return null;
			}
		}
		public override BitmapSource mIcon
		{
			get
			{
				return null;
			}
		}
		public override BitmapSource mIconHD
		{
			get
			{
				return null;
			}
		}
		public override BitmapSource mIconInList
		{
			get
			{
				return null;
			}
		}
		public override string mDescription
		{
			get
			{
				return null;
			}
		}
		public override string mAuthor
		{
			get
			{
				return null;
			}
		}
		public override PluginSettingBaseCtrl GetPluginSettingCtrl()
		{
			return new SimplePluginSetCtrl(strings.Shake_Start_Shake, new RoutedEventHandler(this.onBtnClickLbs));
		}
		private void onBtnClickLbs(object sender, RoutedEventArgs e)
		{
			this.execute(4, null);
		}
		public override void onRegisterResult(RetConst retConst_0, int code)
		{
			Log.smethod_4("PluginBaseEx", string.Concat(new object[]
			{
				"on register result , ret = ",
				retConst_0,
				", code = ",
				code
			}));
		}
		public override bool onInitialize()
		{
			Log.smethod_4("PluginBaseEx", "initialize. ");
			this.sceneLbsService = new LbsService();
			return true;
		}
		public override bool onInstalled(InstallMode mode)
		{
			Log.smethod_4("PluginBaseEx", "on inistalled. ");
			return true;
		}
		public override bool onUninstalled(InstallMode mode)
		{
			Log.smethod_4("PluginBaseEx", "on uninstalled. ");
			this.sceneLbsService.doCleanPosition();
			return true;
		}
		public override bool onParseChatMsg(ChatMsg chatMsg)
		{
			return false;
		}
		public override object execute(int entryType, object args)
		{
			return null;
		}
	}
}
